import {request} from '@/utils/request';

/**
 * 添加设备流转记录
 * @param data 数据
 */
export function addBmsDeviceReplaceApi(data: any) {
  return request({
      url: '/bms/device/replace/addBmsDeviceReplace',
      method: 'post',
      data,
    },
    {
      isDataDirectly: false,
    });
}

/**
 * 查询分页设备流转记录
 * @param data 数据
 */
export function listBmsDeviceReplacePageApi(data: any) {
  return request({
      url: '/bms/device/replace/listBmsDeviceReplacePage',
      method: 'post',
      data,
    },
    {
      isDataDirectly: false,
    });
}